package com.kaiy.smartfire.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by kaiy on 2018/5/4
 */
@Configuration
@EnableAutoConfiguration
@RestController
@EnableConfigServer
@EnableEurekaClient
public class ConfigServerProvider {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerProvider.class, args);
    }
}
